<?php
namespace app\service;
use app\model\Letter;

class LetterService extends BaseService
{

    protected function setModel(): string
    {
        return Letter::class;
    }

    public function delete($id, ?string $key = null)
    {
        return $this->save(["id"=>$id,"is_del"=>1]);
    }
}